<?php

/**
 * Created by PhpStorm.
 * User: EYES.HATE
 * Date: 16/1/5
 * Time: 下午9:32
 */

namespace Config;

class Db
{
    public static $main = array(
        //'host'          => '115.29.136.117',
        'host'          => '127.0.0.1',
        'port'          => '3306',
        'user'          => 'root',
        //'password' => 'Helihai123',
        'password' => 'fan1989115',
        'dbname'  => 'restaurant_order_main',
        'charset'    => 'utf8',
    );

    // Redis连接配置
    public static $redis = array(
        'host'    => '192.168.199.101',
        'port'    => 6379,
    );
}